package com.zhang.common.core.exception.file;

/**
 * @Class com.zhang.common.core.exception.file
 * @Author zhang
 * @Date 2025/9/11 17:50
 * @Description 文件名称超长限制异常类
 **/
public class FileNameLengthLimitExceededException extends FileException {

    /**
     * 序列化序号
     */
    private static final long serialVersionUID = -1196817001411022826L;

    /**
     * 构造函数初始化
     *
     * @param defaultFileNameLength 默认文件名称限制长度
     */
    public FileNameLengthLimitExceededException(int defaultFileNameLength) {
        super("upload.filename.exceed.length", new Object[]{defaultFileNameLength});
    }
}
